package com.ticket.sass.admin.dto.input.config;

import com.ticket.sass.admin.validator.InEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Map;

/**
 * @author ywb
 * @date 2024-03-18 14:55
 */
@Data
@ApiModel
public class TicketServerConfigInput {
    @NotNull(message = "售票系统不能为空")
    @InEnum(intValues = {1, 2, 3, 4, 5, 6, 7, 9, 10})
    @ApiModelProperty(value = "售票系统：1 辰星，2 鼎新，3 凤凰云智，4 凤凰佳影，5 火烈鸟，6 vista（沃思达），7 m1905 10 辰星3.0.0")
    private Short platform;
    
    @ApiModelProperty(value = "票务服务网址")
    private String serverUrl;
    
    @ApiModelProperty(value = "配置内容，json 格式")
    private Map<String, String> data;
}
